package com.example.demo.api.lenovoid;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import retrofit2.http.*;


@RetrofitClient(baseUrl = "${lenovo.id.base}")
public interface LenovoIDApi {
    @FormUrlEncoded
    @POST("st/user/getustbypwd")
    Object getustbypwd(@Query("email") String email, @Field("password") String password, @Field("realm") String realm, @Field("deviceidtype") String deviceidtype, @Field("deviceid") String deviceid, @Field("source") String source, @Field("lang") String lang, @Field("clientip") String clientip);

    @GET("getaccountid")
    Object getaccountid(@Query("realm") String realm, @Query("lpsust") String lpsust);


}
